#include <CommandDeselect.h>
Inheritance diagram for CommandDeselect:

Public Member Functions | |
| CommandDeselect (TraffEduObject *obj, OSGWindows *osgwind) | |
| bool | execute () |
| bool | unexecute () |
| void | changeState () |
| void | changeStateReverse () |
Private Attributes | |
| OSGWindows * | osgwind_ |
| vector< TraffEduObject * > | deselectedObjs_ |
| osg::StateSet * | stateset |
|
||||||||||||
|
A constructor. Initializes osgwind_ variable and drop the deselected object from the selected object list.
|
|
|
highlight the seleted objects in the environment. |
|
|
un_highlight the selected objects in the environment. |
|
|
do the deselection operation.
Implements Command. |
|
|
undo the deselection operation.
Implements Command. |
|
|
a private vector of TraffEduObjects. It holds the deselected objects. |
|
|
a private variable. It is initialized with the unique OSGWindows instance. |
|
|
a private osg::StateSet pointer. It holds state of the selected/deselected objects. |
1.4.6-NO